package com.bdqn.t330.ch04;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;


//@MapperScan  @Mapper  @ComponentScan
@SpringBootApplication
@MapperScan("com.bdqn.t330.ch04.mapper")//加载该路径下的mapper接口
//@ServletComponentScan
public class Ch04Application {

    public static void main(String[] args) {
        SpringApplication.run(Ch04Application.class, args);
    }

}
